text/template/parse.item.typ (field)

34 uses

	text/template/parse (current package)
		lex.go#L16: 	typ  itemType // The type of this item.
		lex.go#L24: 	case i.typ == itemEOF:
		lex.go#L26: 	case i.typ == itemError:
		lex.go#L28: 	case i.typ > itemKeyword:
		parse.go#L114: 		if token.typ != itemSpace {
		parse.go#L175: 	if token.typ != expected {
		parse.go#L184: 	if token.typ != expected1 && token.typ != expected2 {
		parse.go#L192: 	if token.typ == itemError {
		parse.go#L299: 	for t.peek().typ != itemEOF {
		parse.go#L300: 		if t.peek().typ == itemLeftDelim {
		parse.go#L302: 			if t.nextNonSpace().typ == itemDefine {
		parse.go#L348: 	for t.peekNonSpace().typ != itemEOF {
		parse.go#L363: 	switch token := t.nextNonSpace(); token.typ {
		parse.go#L388: 	switch token := t.nextNonSpace(); token.typ {
		parse.go#L418: 	if token := t.next(); token.typ != itemRightDelim {
		parse.go#L431: 	if token := t.next(); token.typ != itemRightDelim {
		parse.go#L447: 	if v := t.peekNonSpace(); v.typ == itemVariable {
		parse.go#L456: 		case next.typ == itemAssign, next.typ == itemDeclare:
		parse.go#L457: 			pipe.IsAssign = next.typ == itemAssign
		parse.go#L461: 		case next.typ == itemChar && next.val == ",":
		parse.go#L466: 				switch t.peekNonSpace().typ {
		parse.go#L475: 		case tokenAfterVariable.typ == itemSpace:
		parse.go#L482: 		switch token := t.nextNonSpace(); token.typ {
		parse.go#L535: 			if t.peek().typ == itemIf {
		parse.go#L589: 	if peek.typ == itemIf {
		parse.go#L634: 	if t.nextNonSpace().typ != itemRightDelim {
		parse.go#L643: 	switch token.typ {
		parse.go#L668: 		switch token := t.next(); token.typ {
		parse.go#L696: 	if t.peek().typ == itemField {
		parse.go#L698: 		for t.peek().typ == itemField {
		parse.go#L730: 	switch token := t.nextNonSpace(); token.typ {
		parse.go#L748: 		number, err := t.newNumber(token.pos, token.val, token.typ)